<include file="public@header"/>
</head>
<body>
    <div class="layui-fluid js-check-wrap">
        <form action="{:url('AdminGoodsType/editPost')}" method="post" class="layui-form js-ajax-form margin-top-20">
            <div class="layui-card">
                <div class="layui-card-header">{:lang('GOODS_ADMINGOODSTYPE_EDIT')}</div>
                <div class="layui-card-body">
                    <div class="layui-form-item">
                        <label class="layui-form-label">{:lang('GOODS_TYPE_NAME')}</label>
                        <div class="layui-input-block">
                            <input type="text" class="layui-input" name="cat_name" value="{$data.cat_name}" placeholder="{:lang('PLEASE_ENTER')}{:lang('GOODS_TYPE_NAME')}">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <input type="hidden" name="cat_id" value="{$data.cat_id}">
                            <button class="layui-btn layui-btn-normal js-ajax-submit" type="submit">{:lang('SAVE')}</button>
                            <a class="layui-btn layui-btn-primary" href="javascript:history.back(-1);">{:lang('BACK')}</a>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
    
<include file="public@footer"/>
